package com.bjpowernode.mappers;

import com.bjpowernode.entities.TTran;
import com.bjpowernode.querys.BaseQuery;

import java.math.BigDecimal;
import java.util.List;

public interface TTranMapper {
    TTran selectById(Integer id);

    List<TTran> selectByPage(BaseQuery baseQuery);

    BigDecimal selectSuccessTranAmount();

    Integer selectTotalTranCount();

    BigDecimal selectTotalTranAmount();

    Integer selectSuccessTranCount();

    int insert(TTran record);

    int insertSelective(TTran record);

    int updateById(TTran record);

    int updateByIdSelective(TTran record);

    int deleteById(Integer id);
}